Google News
logo
jQuery - Interview Questions
What is resize() function in jQuery?
The resize event occurs when the size of the browser window is changed. jQuery resize() Method attaches window element to an event handler function and this event handler function executes when the resize event occurs.
 
jQuery resize() Method Syntax :
$(window).resize(function(){
 //code that executes when the resize event occurs.
});
Advertisement